package com.jd.webapp.portal.service;

import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.jd.webapp.portal.pojo.CartItem;


public interface CartService {
	void addCart(long itemid,int num,HttpServletRequest request,HttpServletResponse response) throws Exception;
	List<CartItem> getList(HttpServletRequest request)throws Exception;
	void deleteCart(long itemid,HttpServletRequest request,HttpServletResponse response)throws Exception;
	void updateCart(long itemid,int num,HttpServletRequest request,HttpServletResponse response)throws Exception;
}
